package cc.comac.mom.entity;

import java.time.LocalDateTime;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName(value = "equip_patrol_check_order_item")
@Data
@EqualsAndHashCode(callSuper=true)
public class EquipPatrolCheckWorkOrderItemEntity extends BaseResultEntity{
	private static final long serialVersionUID = 1L;
	
	@TableField(value="patrol_check_order_item_id")
	@TableId(value = "patrol_check_order_item_id",type=IdType.INPUT)
	private long   id;
	private long patrolCheckOrderId;
	private long devId;
	private Integer status;
	private String isExecuteUpkeep;
	private String isUseDev;
	private String isAbnormal;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime patrolCheckDate  = null;
	private String patrolCheckUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime userConfirmDate = null;
	private String confirmUser;
	//private long attachmentGroupId;
	@TableField(value ="ea_0")
	private String ea0;
	@TableField(value ="ea_1")
	private String ea1;
	@TableField(value ="ea_2")
	private String ea2;
	@TableField(value ="ea_3")
	private String ea3;
	@TableField(value ="ea_4")
	private String ea4;
}
